package com.jky.trial.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jky.trial.common.QueryParam;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class Category extends QueryParam implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String name;
    private String desc;
    private Boolean deleted;
    private Boolean archive;//是否已归档
    private String remark;
    private String remark2;//长字符串
    private Integer status;
    private Integer type;
    private Integer comId; //projectId
    private Integer pId; // 上层级ID
    private Integer personId; //联系人ID
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateAt;
    private Date delegateAt;
    private Date planedFinishAt;


    public void setpId(Integer pId) {
        this.pId = pId;
    }
}